package com.quanyan.orderpay.vo.request;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * Created by Zheng.Ke
 * Date 2017/1/6.
 */
public class OpenIdAndSessionParamsVo {
    @NotNull
    private String mchId;
    @NotNull
    @Min(1)
    private Integer payId;
    @NotBlank
    private String code;

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public Integer getPayId() {
        return payId;
    }

    public void setPayId(Integer payId) {
        this.payId = payId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
